package Lab05.Q6;

public class Test {
    static String Path="C:";
    public static void main(String[] args) {

        Folder folder = new Folder("test");
        folder.executeCommand();
        Folder test_F = new Folder("test_folder");
        test_F.executeCommand();
        folder.addFile(test_F);
        ExecutableFile test_E=new ExecutableFile("test_executable");
        test_F.addFile(test_E);
        NotExecutableFile test_N = new NotExecutableFile("test_not_executable");
        test_F.addFile(test_N);
        Shortcut test_S=new Shortcut("test_shortcut",test_E);
        test_F.addFile(test_S);
        test_F.showFile();
        System.out.println(test_F);

        test_E.executeCommand();
        test_S.executeCommand();
        test_N.executeCommand();
    }
}
